package day02_oop_code.com.itheima.d3_polymorphism;

public class Cat extends Animal {
    String name = "cat";

    @Override
    public void cry() {
        System.out.println("Cat.cry");
    }
    public void catchFish(){
        System.out.println("Animal.catchFish");
    }
}
